; Music of Migbusters (1990) (Players)
; Ripped by Megachur the 11/02/2007

	write "MIGBUSTE.BIN"

music_date_rip	equ &0b27
music_adr	equ &4000
first_theme	equ 0
last_theme	equ 0

	read "music_header_v1_0.asm"

	jp l4857        ; init music
	jp l493a        ; play music
.l4008 equ $ + 2
.music_end equ $ + 1
.l4007 equ $ + 1
.l4006
	db #00,#01,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#ff,#00,#00,#00,#01
	db #00,#0c,#00,#0c,#00,#00,#18,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#0f,#0f
	db #00,#fe,#0d,#00,#00,#ff,#ff,#00
	db #00,#03,#06,#00,#fc,#f4,#f4,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#e8,#00,#00,#00,#00
	db #00,#0f,#0f,#00,#00,#0f,#00,#00
	db #fc,#01,#14,#64,#03,#04,#00,#fc
	db #f8,#f4,#e8,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#b8,#00
	db #00,#00,#00,#00,#0c,#08,#00,#ff
	db #0c,#01,#00,#ff,#ff,#00,#00,#00
	db #01,#0c,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#0f
	db #0f,#00,#ff,#0e,#01,#00,#ff,#ff
	db #00,#00,#00,#01,#0c,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#0f,#0a,#00
	db #fe,#0c,#01,#00,#fc,#ff,#00,#00
	db #02,#03,#f4,#fa,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#78,#00,#00,#00,#00,#00
	db #0f,#08,#00,#ff,#0c,#32,#08,#ff
	db #01,#01,#02,#00,#01,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#0a,#0a,#00,#fe,#08
	db #00,#00,#f8,#ff,#00,#00,#02,#03
	db #00,#06,#0c,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #78,#00,#00,#00,#00,#00,#0f,#0f
	db #00,#fe,#0d,#00,#00,#ff,#ff,#00
	db #00,#03,#06,#00,#fc,#f4,#f4,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#e8,#00,#00,#00,#00
	db #00,#0c,#08,#00,#ff,#0c,#0a,#05
	db #ff,#ff,#00,#00,#00,#01,#0c,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#0f,#0f,#00,#ff
	db #0e,#01,#01,#ff,#ff,#00,#00,#00
	db #01,#0c,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.l41ac equ $ + 6
	db #00,#00,#00,#00,#00,#00,#f2,#41
.l41b0 equ $ + 2
.l41ae
	dw l4232,l4213,l45b8
	dw l45c1,l45c9,l4620,l4629
	dw l4632,l46d9,l46e6,l46ed
.l41c4
	dw l4240,l424f,l42a0,#0000
	dw l4333,l438e,l439d,l43ac
	dw #0000,l43c5,l4420,l4455
	dw l44f0,l4521,l459a,l45a9
	dw l45ce,l45f7,#0000,l4637
	dw l4656,l46f2,l4707,#00fc
	ei
	db #0c,#00,#01,#02,#07,#0b,#02,#0d
	db #01,#06,#02,#02,#08,#0e,#02,#00
	db #02,#04,#02,#0a,#02,#06,#02,#0f
.l4213 equ $ + 6
	db #01,#0e,#01,#f9,#01,#fe,#00,#01
	db #02,#02,#04,#02,#02,#01,#09,#02
	db #0a,#01,#02,#02,#04,#02,#02,#02
	db #09,#02,#04,#06,#0a,#02,#06,#02
.l4232 equ $ + 5
	db #0f,#01,#0e,#01,#fd,#05,#03,#07
	db #01,#01,#0e,#0a,#01,#0c,#01,#01
.l4240 equ $ + 3
	db #1c,#0e,#ff,#61,#03,#22,#10,#60
	db #10,#60,#10,#60,#10,#60,#10,#60
.l424f equ $ + 2
	db #10,#fe,#61,#02,#31,#04,#61,#08
	db #5a,#04,#5a,#04,#61,#01,#31,#04
	db #61,#08,#5a,#04,#5a,#04,#61,#02
	db #31,#04,#61,#08,#5a,#04,#5a,#04
	db #61,#01,#31,#04,#61,#08,#5a,#04
	db #5a,#04,#61,#02,#31,#04,#61,#08
	db #5a,#04,#5a,#04,#61,#01,#31,#04
	db #61,#08,#5a,#04,#5a,#04,#61,#02
	db #31,#04,#61,#08,#5a,#04,#5a,#04
	db #61,#01,#31,#04,#61,#08,#5a,#04
.l42a0 equ $ + 3
	db #5e,#04,#fe,#61,#03,#22,#04,#61
	db #04,#22,#04,#61,#03,#22,#04,#22
	db #04,#61,#04,#22,#04,#22,#04,#61
	db #03,#22,#04,#61,#04,#22,#04,#61
	db #03,#25,#04,#22,#04,#20,#04,#22
	db #04,#22,#04,#61,#04,#22,#04,#61
	db #03,#22,#04,#22,#04,#61,#04,#22
	db #04,#22,#04,#61,#03,#22,#04,#61
	db #04,#22,#04,#61,#03,#25,#04,#22
	db #04,#20,#04,#22,#04,#27,#04,#61
	db #04,#27,#04,#61,#03,#27,#04,#27
	db #04,#61,#04,#27,#04,#27,#04,#61
	db #03,#27,#04,#61,#04,#27,#04,#61
	db #03,#27,#04,#27,#04,#25,#04,#22
	db #04,#25,#04,#61,#04,#25,#04,#61
	db #03,#25,#04,#25,#04,#61,#04,#25
	db #04,#25,#04,#61,#03,#24,#04,#24
	db #04,#61,#04,#24,#04,#61,#03,#24
.l4333 equ $ + 6
	db #04,#24,#04,#23,#04,#fe,#61,#06
	db #2e,#08,#2e,#04,#2e,#04,#2e,#04
	db #61,#07,#3a,#10,#38,#04,#3a,#04
	db #31,#04,#fa,#01,#ff,#3f,#0c,#3f
	db #0c,#fa,#00,#00,#41,#04,#3f,#04
	db #3d,#04,#3a,#04,#38,#04,#35,#04
	db #61,#06,#2e,#08,#2e,#04,#2e,#04
	db #2e,#04,#61,#07,#3a,#10,#3a,#04
	db #38,#04,#3a,#04,#3a,#04,#3d,#04
	db #38,#04,#3a,#04,#38,#04,#3a,#04
	db #3a,#04,#3d,#04,#38,#04,#fa,#01
	db #ff,#3f,#08,#fa,#00,#00,#44,#04
.l438e equ $ + 1
	db #fe,#61,#08,#5a,#0c,#5a,#0c,#5a
	db #0c,#5a,#0c,#5a,#0c,#5a,#0c,#fe
.l439d
	db #61,#09,#31,#04,#31,#04,#31,#04
.l43ac equ $ + 7
	db #31,#04,#31,#04,#31,#04,#fe,#61
	db #08,#5a,#0c,#5a,#0c,#5a,#0c,#5a
	db #0c,#61,#01,#31,#04,#31,#04,#31
	db #04,#31,#04,#31,#04,#31,#04,#fe
.l43c5
	db #61,#06,#2e,#08,#2e,#04,#2e,#04
	db #2e,#04,#61,#07,#3a,#10,#3a,#04
	db #38,#04,#35,#04,#fa,#01,#ff,#33
	db #08,#fa,#00,#00,#35,#04,#fa,#01
	db #ff,#33,#04,#fa,#00,#00,#35,#04
	db #38,#04,#3a,#04,#38,#04,#35,#04
	db #38,#0c,#61,#06,#2e,#08,#2e,#04
	db #2e,#04,#2e,#04,#61,#07,#3a,#10
	db #3a,#08,#3d,#04,#fa,#01,#ff,#3f
	db #0c,#3f,#0c,#fa,#00,#00,#3f,#04
	db #3f,#04,#3d,#04,#3a,#04,#38,#04
.l4420 equ $ + 3
	db #35,#04,#fe,#61,#07,#3f,#10,#60
	db #08,#3f,#08,#41,#08,#42,#08,#fa
	db #01,#ff,#41,#08,#fa,#00,#00,#41
	db #08,#3f,#08,#3d,#08,#3a,#08,#38
	db #08,#3a,#10,#60,#08,#3d,#08,#3a
	db #08,#38,#08,#3a,#08,#38,#08,#3a
	db #08,#3d,#08,#3f,#08,#41,#08,#fe
.l4455
	db #61,#03,#27,#04,#61,#04,#27,#04
	db #27,#04,#61,#03,#27,#04,#61,#04
	db #27,#04,#27,#04,#61,#03,#27,#04
	db #61,#04,#27,#04,#27,#04,#61,#03
	db #27,#04,#61,#04,#27,#04,#27,#04
	db #27,#04,#27,#04,#27,#04,#61,#03
	db #27,#04,#61,#04,#27,#04,#27,#04
	db #61,#03,#27,#04,#61,#04,#27,#04
	db #61,#03,#27,#04,#61,#04,#27,#04
	db #61,#03,#25,#04,#61,#04,#25,#04
	db #61,#03,#22,#04,#61,#04,#22,#04
	db #22,#04,#61,#03,#22,#04,#61,#04
	db #22,#04,#22,#04,#61,#03,#22,#04
	db #61,#04,#22,#04,#22,#04,#61,#03
	db #22,#04,#61,#04,#22,#04,#22,#04
	db #61,#03,#22,#04,#61,#04,#22,#04
	db #22,#04,#61,#03,#22,#04,#61,#04
	db #22,#04,#22,#04,#61,#03,#22,#04
	db #22,#04,#22,#04,#22,#04,#22,#04
.l44f0 equ $ + 3
	db #25,#04,#fe,#61,#07,#42,#10,#60
	db #10,#60,#10,#3f,#10,#60,#08,#42
	db #10,#60,#08,#44,#10,#60,#10,#60
	db #10,#61,#09,#31,#04,#31,#04,#31
	db #04,#31,#04,#31,#04,#31,#04,#31
	db #04,#31,#04,#31,#04,#31,#04,#31
.l4521 equ $ + 4
	db #04,#31,#04,#fe,#61,#03,#2c,#04
	db #61,#04,#2c,#04,#2c,#04,#61,#03
	db #2c,#04,#61,#04,#2c,#04,#2c,#04
	db #61,#03,#2c,#04,#61,#04,#2c,#04
	db #2c,#04,#61,#03,#2c,#04,#61,#04
	db #2c,#04,#2a,#04,#61,#03,#2c,#04
	db #61,#04,#2c,#04,#2c,#04,#61,#03
	db #2c,#04,#61,#04,#2c,#04,#2c,#04
	db #61,#03,#2c,#04,#61,#04,#2c,#04
	db #2c,#04,#61,#03,#2d,#04,#61,#04
	db #2d,#04,#2d,#04,#61,#03,#2e,#04
	db #61,#04,#2e,#04,#2e,#04,#61,#03
	db #2c,#04,#61,#04,#2c,#04,#2c,#04
	db #61,#03,#29,#04,#61,#04,#29,#04
	db #29,#04,#61,#03,#25,#04,#61,#04
.l459a equ $ + 5
	db #25,#04,#25,#04,#fe,#61,#00,#60
	db #10,#60,#10,#60,#10,#60,#10,#60
.l45a9 equ $ + 4
	db #10,#60,#10,#fe,#61,#0a,#22,#10
	db #60,#10,#60,#10,#60,#10,#60,#10
.l45b8 equ $ + 3
	db #60,#10,#fe,#fc,#00,#fb,#0c,#10
.l45c1 equ $ + 4
	db #01,#0e,#01,#ff,#f9,#02,#10,#01
.l45c9 equ $ + 4
	db #f9,#fe,#0e,#01,#11,#01,#0e,#01
.l45ce equ $ + 1
	db #ff,#61,#0b,#27,#04,#27,#04,#27
	db #04,#27,#04,#27,#04,#27,#04,#25
	db #04,#27,#04,#27,#04,#27,#04,#25
	db #04,#22,#04,#61,#0a,#1b,#10,#60
	db #10,#60,#10,#60,#10,#60,#10,#60
.l45f7 equ $ + 2
	db #10,#fe,#61,#0a,#27,#10,#60,#08
	db #61,#01,#31,#04,#31,#04,#31,#04
	db #31,#04,#61,#02,#31,#04,#61,#01
	db #25,#04,#61,#02,#61,#0a,#27,#10
	db #60,#10,#60,#10,#60,#10,#60,#10
.l4620 equ $ + 3
	db #60,#10,#fe,#fc,#00,#fb,#0c,#14
.l4629 equ $ + 4
	db #01,#0e,#01,#ff,#f9,#02,#14,#01
.l4632 equ $ + 5
	db #f9,#fe,#0e,#01,#ff,#13,#01,#0e
.l4637 equ $ + 2
	db #01,#ff,#61,#0a,#22,#10,#60,#10
	db #60,#10,#25,#10,#60,#10,#60,#10
	db #27,#10,#60,#08,#29,#0c,#2a,#0c
	db #61,#0a,#16,#10,#60,#10,#60,#10
.l4656 equ $ + 1
	db #fe,#61,#02,#61,#03,#22,#04,#61
	db #04,#22,#04,#22,#04,#61,#03,#22
	db #04,#61,#04,#22,#04,#61,#03,#22
	db #04,#61,#04,#22,#04,#22,#04,#22
	db #04,#61,#03,#22,#04,#61,#04,#22
	db #04,#22,#04,#61,#03,#25,#04,#61
	db #04,#25,#04,#25,#04,#61,#03,#25
	db #04,#61,#04,#25,#04,#61,#03,#25
	db #04,#61,#04,#25,#04,#25,#04,#25
	db #04,#61,#03,#25,#04,#61,#04,#25
	db #04,#25,#04,#61,#03,#27,#04,#61
	db #04,#27,#04,#27,#04,#61,#03,#27
	db #04,#61,#04,#27,#04,#61,#03,#27
	db #04,#29,#04,#61,#04,#29,#04,#61
	db #03,#29,#04,#2a,#04,#61,#04,#2a
	db #04,#61,#03,#2a,#04,#61,#0a,#22
.l46d9 equ $ + 4
	db #10,#60,#10,#fe,#fc,#00,#fb,#0c
	db #fa,#0c,#15,#01,#fa,#f4,#0e,#01
.l46e6 equ $ + 1
	db #ff,#f9,#01,#16,#01,#f9,#ff,#ff
.l46f2 equ $ + 5
.l46ed
	db #16,#01,#0e,#01,#ff,#61,#0b,#3f
	db #09,#3f,#09,#3d,#03,#3a,#03,#38
	db #03,#36,#09,#61,#0a,#33,#10,#60
.l4707 equ $ + 2
	db #10,#fe,#61,#0b,#27,#09,#27,#06
	db #25,#03,#2a,#06,#27,#03,#25,#09
.l471c equ $ + 7
	db #61,#0a,#27,#10,#60,#10,#fe,#00
.l471d
	db #00
.l471e
	dw l4f86
	db #00,#00,#00,#00,#30
.l472c equ $ + 7
.l472b equ $ + 6
.l472a equ $ + 5
.l4729 equ $ + 4
	db #30,#30,#30,#00,#0f,#00,#00,#00
.l472d
	db #00,#00
.l472f
	ld a,(l472b)
	and a
	ld b,a
	ret z
	ld a,(l472d)
	cp #80
	jp z,l4758
	ld a,(l472c)
	dec a
	ld (l472c),a
	ret nz
	ld a,(l472d)
	ld (l472c),a
	ld a,(l4729)
	add b
	bit 4,a
	jp nz,l4767
	ld (l4729),a
	ret
.l4758
	ld a,b
	cp #01
	ld a,#0f
	jp z,l4761
	xor a
.l4761
	ld (l4729),a
	jp l4767
.l4767
	xor a
	ld (l472b),a
	ld a,(l472a)
	and a
	jp nz,l4906
	ret
.l4773
	ld a,#00
	ld (l4729),a
	ld a,#01
.l477a
	ld (l472b),a
	inc hl
	ld a,(hl)
	ld (l472d),a
	ld (l472c),a
	inc hl
	jp l4cba
.l4789
	ld a,#0f
	ld (l4729),a
	ld a,#ff
	jp l477a
.l4793
	ld a,h
	push af
	ld c,l
	cp #07
	jp nz,l479f
	res 7,c
	res 6,c
.l479f
	ld a,#c0
	ld b,#f6
	out (c),a
	ld b,#f4
	pop af
	out (c),a
	ld b,#f6
	ld a,#80
	out (c),a
	ld b,#f4
	out (c),c
	xor a
	ld b,#f6
	out (c),a
	ret
.l47c1 equ $ + 7
.l47c0 equ $ + 6
.l47bb equ $ + 1
.l47ba
	db #00,#00,#00,#00,#00,#00,#00,#f8
.l47c7 equ $ + 5
.l47c5 equ $ + 3
.l47c4 equ $ + 2
.l47c3 equ $ + 1
.l47c2
	db #00,#00,#00,#40,#42,#01,#00,#00
	db #00,#05,#00,#08,#01,#ff,#00,#00
	db #00,#01,#08,#00,#00,#04,#00,#00
	db #40,#42,#00,#f7,#14,#0a,#01,#00
	db #00,#08,#04,#f8,#41,#01,#f2,#41
	db #00,#0a,#00,#02,#00,#fe,#00,#00
.l47f6 equ $ + 4
.l47f4 equ $ + 2
.l47f2
	db #0c,#00,#8e,#43,#01,#00,#00,#00
	db #01,#01,#02,#01,#ff,#00,#00,#02
	db #03,#09,#00,#00,#01,#00,#00,#8e
	db #43,#00,#ef,#ff,#ff,#00,#00,#00
	db #00,#00,#34,#42,#03,#32,#42,#00
.l4821 equ $ + 7
	db #00,#00,#00,#00,#00,#00,#00,#0c
.l4825 equ $ + 3
.l4823 equ $ + 1
	db #00,#40,#42,#01,#00,#00,#00,#0a
	db #01,#02,#02,#ff,#00,#00,#04,#05
	db #0a,#00,#00,#00,#01,#00,#40,#42
	db #00,#00,#df,#ff,#ff,#00,#00,#00
	db #00,#15,#42,#01,#13,#42,#00,#00
.l4850 equ $ + 6
	db #00,#00,#00,#00,#00,#00,#0c,#00
	db #00,#00,#00,#00,#00
;
.init_music
.l4857
;
	ld a,#0f
	ld (l4729),a
	xor a
	ld (l472b),a
	ld (l472a),a
	call l490e
	ld a,(l471d)
	cp #ff
	jp nz,l4872
	inc a
	ld (l471d),a
.l4872
	ld a,#01
	ld (l47c7),a
	ld (l47f6),a
	ld (l4825),a
	xor a
	ld (l471c),a
	push ix
	ld ix,l47c5
	ld a,(l471d)
	add a
	ld b,a
	add a
	add b
	ld l,a
	ld h,#00
	ld de,l41ac
	add hl,de
	ld (l48a3),hl
	inc hl
	inc hl
	ld (l48ad),hl
	inc hl
	inc hl
	ld (l48b7),hl
.l48a3 equ $ + 1
	ld hl,(l41ac)
	call l48dc
	ld ix,l47f4
.l48ad equ $ + 1
	ld hl,(l41ae)
	call l48dc
	ld ix,l4823
.l48b7 equ $ + 1
	ld hl,(l41b0)
	call l48dc
	ld a,#01
	ld (l4007),a
	ld h,#07
	ld l,#f8
	call l4793
	ld a,(l471d)
	cp #01
	pop ix
	ret
.l48d0
	halt                    ; test player
	call l493a
	ld a,(l4007)
	and a
	jp nz,l48d0
	ret
.l48dc
	ld (ix+#20),l
	ld (ix+#23),l
	ld (ix+#00),l
	ld (ix+#21),h
	ld (ix+#24),h
	ld (ix+#01),h
	call l4dd7
	ld (ix+#02),#01
	ld (ix+#0c),#00
	ld (ix+#05),#00
	ld (ix+#04),#00
	ld (ix+#17),#00
	ret
;
.stop_music
.l4906
;
	call l490e
	xor a
	ld (l4007),a
	ret
.l490e
	ld h,#07
	ld l,#ff
	call l4793
	ld hl,l47ba
	ld de,l47bb
	ld bc,#000a
	ld (hl),#00
	ldir
	ld a,#f8
	ld (l47c1),a
.l4927
	ld b,#0b
	ld h,#00
	ld de,l47ba
.l492e
	ld a,(de)
	ld l,a
	push bc
	call l4793
	pop bc
	inc h
	inc de
	djnz l492e
	ret
;
.play_music
.l493a
;
	ld a,(l4006)
	and a
	jp z,l496d
	ld b,a
	xor a
	ld (l4006),a
	ld a,b
	cp #ff
	jp z,l4906
	cp #fe
	jp nz,l4966
	ld a,#01
	ld (l472a),a
	ld a,#ff
	ld (l472b),a
	ld a,#0a
	ld (l472d),a
	ld (l472c),a
	jp l496d
.l4966
	dec a
	ld (l471d),a
	jp l4857
.l496d
	call l472f
	ld a,(l4007)
	and a
	jr z,l49cf
	push ix
	ld ix,l47c5
	bit 7,(ix+#0c)
	call z,l49d0
	ld ix,l47f4
	bit 7,(ix+#0c)
	call z,l49d0
	ld ix,l4823
	bit 7,(ix+#0c)
	call z,l49d0
	ld a,(l4729)
	cpl
	and #0f
	ld b,a
	ld a,(l471c)
	and a
	ld a,#10
	jp nz,l49b1
	ld a,(l47c2)
	sub b
	jp nc,l49b1
	xor a
.l49b1
	ld (l47c2),a
	ld a,(l47c3)
	sub b
	jp nc,l49bc
	xor a
.l49bc
	ld (l47c3),a
	ld a,(l47c4)
	sub b
	jp nc,l49c7
	xor a
.l49c7
	ld (l47c4),a
	call l4927
	pop ix
.l49cf
	ret
.l49d0
	ld a,(ix+#02)
	dec (ix+#02)
	jp z,l4b77
.l49d9
	ld a,(ix+#0c)
	and #03
	jp z,l4a99
	cp #01
	jp z,l49f3
	cp #02
	jp z,l4a33
	cp #03
	jp z,l4a7d
	jp l4aca
.l49f3
	ld a,(ix+#0b)
	and a
	jr z,l49ff
	dec (ix+#0b)
	jp l4aca
.l49ff
	ld a,(ix+#04)
	ld b,(ix+#08)
	add b
	ld (ix+#04),a
	ld b,(ix+#05)
	cp b
	jr z,l4a20
	jr nc,l4a1a
	ld a,(ix+#07)
	ld (ix+#0b),a
	jp l4aca
.l4a1a
	ld a,(ix+#05)
	ld (ix+#04),a
.l4a20
	ld a,(ix+#0c)
	and #fc
	or #02
	ld (ix+#0c),a
	ld a,(ix+#09)
	ld (ix+#25),a
	jp l4aca
.l4a33
	ld a,(ix+#25)
	and a
	jr z,l4a3f
	dec (ix+#25)
	jp l4aca
.l4a3f
	ld a,(ix+#04)
	ld b,(ix+#0a)
	add b
	ld (ix+#04),a
	bit 7,a
	jp nz,l4a5e
	ld b,(ix+#26)
	cp b
	jr z,l4a6b
	jr c,l4a65
	ld a,(ix+#09)
	ld (ix+#25),a
	jr l4aca
.l4a5e
	ld (ix+#04),#00
	jp l4a6b
.l4a65
	ld a,(ix+#26)
	ld (ix+#04),a
.l4a6b
	ld a,(ix+#0c)
	and #fc
	or #03
	ld (ix+#0c),a
	ld a,(ix+#06)
	ld (ix+#27),a
	jr l4aca
.l4a7d
	ld a,(ix+#27)
	and a
	jr z,l4a88
	dec (ix+#27)
	jr l4aca
.l4a88
	ld a,(ix+#0c)
	and #fc
	ld (ix+#0c),a
	ld a,(ix+#2a)
	ld (ix+#29),a
	jp l4aca
.l4a99
	ld a,(ix+#29)
	and a
	jr z,l4aa4
	dec (ix+#29)
	jr l4aca
.l4aa4
	ld a,(ix+#04)
	ld b,(ix+#28)
	add b
	ld (ix+#04),a
	bit 7,a
	jr nz,l4aba
	ld a,(ix+#2a)
	ld (ix+#29),a
	jr l4aca
.l4aba
	ld (ix+#04),#00
	ld a,(ix+#0c)
	and #fc
	or #03
	ld (ix+#0c),a
	jr l4aca
.l4aca
	ld a,(ix+#04)
	ld hl,l47ba
	ld d,#00
	ld e,(ix+#0f)
	add hl,de
	ld (hl),a
	ld h,(ix+#14)
	ld l,(ix+#13)
	ld d,#00
	ld e,(ix+#10)
	add hl,de
	ld a,(ix+#03)
	push af
	ld a,(hl)
	add (ix+#03)
	ld (ix+#03),a
	call l4c0e
	pop af
	ld (ix+#03),a
	inc (ix+#10)
	ld a,(ix+#12)
	xor (ix+#10)
	jr nz,l4b06
	ld a,(ix+#11)
	ld (ix+#10),a
.l4b06
	ld a,(ix+#1a)
	cp #ff
	jr z,l4b47
	and a
	jr z,l4b15
	dec (ix+#1a)
	jr nz,l4b47
.l4b15
	dec (ix+#1f)
	jr nz,l4b28
	ld a,(ix+#1e)
	ld (ix+#1f),a
	ld a,(ix+#2e)
	xor #01
	ld (ix+#2e),a
.l4b28
	ld b,#00
	ld c,(ix+#1b)
	ld h,(ix+#1d)
	ld l,(ix+#1c)
	bit 0,(ix+#2e)
	jr z,l4b3c
	add hl,bc
	jr l4b3e
.l4b3c
	sbc hl,bc
.l4b3e
	ld (ix+#1d),h
	ld (ix+#1c),l
	call l4b62
.l4b47
	ld a,(ix+#2b)
	call l4b55
	and a
	call nz,l4b62
	ld a,(ix+#02)
	ret
.l4b55
	ld l,a
	ld h,#00
	bit 7,a
	ret z
	ld d,h
	ld e,l
	sbc hl,de
	sbc hl,de
	ret
.l4b62
	ld b,h
	ld c,l
	ld hl,l47ba
	ld d,#00
	ld e,(ix+#0d)
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ex de,hl
	add hl,bc
	ex de,hl
	ld (hl),d
	dec hl
	ld (hl),e
	ret
.l4b77
	ld l,(ix+#00)
	ld h,(ix+#01)
.l4b7d
	ld a,(hl)
	cp #60
	jp z,l4c0c
	cp #61
	jp z,l4cc3
	cp #62
	jp z,l4ca1
	cp #64
	jp z,l4c5d
	cp #65
	jp z,l4c93
	cp #fa
	jp z,l4c66
	cp #fc
	jp z,l4773
	cp #fd
	jp z,l4789
	cp #fe
	jp z,l4ca5
	cp #ff
	jp z,l4c8b
	ld b,a
	ld a,(ix+#0c)
	and #fc
	or #01
	ld (ix+#0c),a
	ld (ix+#10),#00
	ld (ix+#04),#00
	ld a,b
	sub (ix+#2d)
	ld (ix+#03),a
	ld a,(ix+#19)
	ld (ix+#1a),a
	ld a,(ix+#1e)
	srl a
	ld (ix+#1f),a
	ld (ix+#1d),#00
	ld (ix+#1c),#00
.l4be0
	inc hl
	ld a,(hl)
	dec a
	push hl
	ld h,#00
	ld l,a
	ld de,(l471e)
	add hl,de
	ld a,(hl)
	pop hl
	inc hl
	ld b,(ix+#2c)
	add b
	ld (ix+#2c),#00
	ld (ix+#02),a
	ld a,(ix+#07)
	ld (ix+#0b),a
	ld (ix+#00),l
	ld (ix+#01),h
	call l4c0e
	jp l49d9
.l4c0c
	jr l4be0
.l4c0e
	ld a,(ix+#17)
	and a
	call nz,l4c52
	ld a,(ix+#03)
	inc a
	inc a
	add a
	ld d,#00
	ld e,a
	ld hl,l4e36
	add hl,de
	push hl
	ld c,(hl)
	inc hl
	ld b,(hl)
	ld hl,l47ba
	ld d,#00
	ld e,(ix+#0d)
	add hl,de
	ld (hl),c
	inc hl
	ld (hl),b
	pop hl
	ld a,(l471c)
	and a
	ret z
	ld a,(ix+#0f)
	cp #08
	ret nz
	ld de,#00c0
	add hl,de
	ex de,hl
	ld h,#0b
	ld a,(de)
	ld l,a
	call l4793
	inc de
	inc h
	ld a,(de)
	ld l,a
	call l4793
	ret
.l4c52
	ld a,(ix+#03)
	neg
	and #1f
	ld (l47c0),a
	ret
.l4c5d
	inc hl
	ld a,(hl)
	inc hl
	ld (l47c0),a
	jp l4cba
.l4c66
	inc hl
	ld (ix+#2e),#01
	ld a,(hl)
	ld (ix+#19),a
	inc hl
	ld a,(hl)
	bit 7,a
	jp z,l4c7c
	neg
	ld (ix+#2e),#00
.l4c7c
	ld (ix+#1b),a
	ld (ix+#1e),#ff
	ld (ix+#1f),#ff
	inc hl
	jp l4cba
.l4c8b
	inc hl
	ld (ix+#04),#00
	jp l4cba
.l4c93
	inc hl
	ld a,(hl)
	inc hl
	push hl
	ld h,#0d
	ld l,a
	call l4793
	pop hl
	jp l4cba
.l4ca1
	inc hl
	jp l4cba
.l4ca5
	ld a,(ix+#22)
	dec a
	ld (ix+#22),a
	jr nz,l4cb4
	jp l4dc9
	jp l4b7d
.l4cb4
	ld l,(ix+#15)
	ld h,(ix+#16)
.l4cba
	ld (ix+#01),h
	ld (ix+#00),l
	jp l4b7d
.l4cc3
	inc hl
	ld a,(hl)
	inc hl
	push hl
	ld (ix+#00),l
	ld (ix+#01),h
	ld b,a
	add a
	ld h,#00
	ld l,a
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,hl
	ld de,l4008
	add hl,de
	ld d,#00
	add b
	ld e,a
	add hl,de
	ld a,(hl)
	ld (ix+#07),a
	inc hl
	ld a,(hl)
	ld (ix+#05),a
	inc hl
	ld a,(hl)
	ld (ix+#08),a
	inc hl
	ld a,(hl)
	ld (ix+#09),a
	inc hl
	ld a,(hl)
	ld (ix+#0a),a
	inc hl
	ld a,(hl)
	ld (ix+#26),a
	inc hl
	ld a,(hl)
	ld (ix+#06),a
	inc hl
	ld a,(hl)
	ld (ix+#2a),a
	inc hl
	ld a,(hl)
	ld (ix+#28),a
	inc hl
	ld a,(hl)
	ld (ix+#19),a
	inc hl
	ld a,(hl)
	ld (ix+#1b),a
	inc hl
	ld a,(hl)
	ld (ix+#1e),a
	inc hl
	ld a,(hl)
	ld (ix+#11),a
	inc hl
	ld a,(hl)
	ld (ix+#12),a
	inc hl
	ld (ix+#14),h
	ld (ix+#13),l
	ld (ix+#10),#00
	ld de,#0010
	add hl,de
	ld a,(hl)
	ld (ix+#17),#00
	and a
	jp z,l4d4e
	ld b,a
	or #c0
	ld (l47c1),a
	ld a,b
	bit 7,a
	jp z,l4d4e
	cpl
	and #38
	ld (ix+#17),a
.l4d4e
	inc hl
	ld a,(ix+#0f)
	cp #08
	jp nz,l4d6a
	ld a,(hl)
	ld (l471c),a
	and a
	jp z,l4d6a
	inc hl
	inc hl
	ld a,(hl)
	push hl
	ld h,#0d
	ld l,a
	call l4793
	pop hl
.l4d6a
	pop hl
	jp l4b7d
.l4d6e
	inc hl
	ld a,(hl)
	inc hl
	push hl
	add a
	add a
	add a
	ld h,#00
	ld l,a
	ld de,l4f86
	add hl,de
	ld (l471e),hl
	pop hl
	jp l4ddd
.l4d83
	inc hl
	ld a,(hl)
	inc hl
	ld (ix+#2c),a
	jp l4ddd
.l4d8c
	inc hl
	ld a,(hl)
	inc hl
	ld (ix+#2b),a
	jp l4ddd
.l4d95
	inc hl
	ld a,(hl)
	inc hl
	ld (l47f2),a
	ld (l4821),a
	ld (l4850),a
	jp l4ddd
.l4da4
	inc hl
	ld b,(hl)
	inc hl
	ld a,(ix+#2d)
	add b
	ld (ix+#2d),a
	jp l4ddd
	ld (ix+#0c),#ff
	ld (ix+#03),#00
	ld (ix+#04),#00
	inc hl
	ld a,(hl)
	and a
	jp z,l49d9
	call l4906
	jp l49d9
.l4dc9
	call l4dd7
	jp l4b77
.l4dcf
	pop bc
	jp l4906
.l4dd3
	pop bc
	jp l4857
.l4dd7
	ld l,(ix+#20)
	ld h,(ix+#21)
.l4ddd
	ld a,(hl)
	cp #f8
	jp z,l4d83
	cp #f9
	jp z,l4d8c
	cp #fa
	jp z,l4da4
	cp #fb
	jp z,l4d95
	cp #fc
	jp z,l4d6e
	cp #fd
	jp z,l4dd3
	cp #fe
	jr z,l4e2a
	cp #ff
	jr z,l4dcf
	push hl
	ld l,a
	ld h,#00
	add hl,hl
	ld de,l41c4
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld (ix+#00),e
	ld (ix+#01),d
	ld (ix+#15),e
	ld (ix+#16),d
	pop hl
	inc hl
	ld a,(hl)
	ld (ix+#22),a
	inc hl
	ld (ix+#20),l
	ld (ix+#21),h
	ret
.l4e2a
	ld l,(ix+#23)
	ld h,(ix+#24)
	jr l4ddd
.l4e36 equ $ + 4
	dw #0000,#0000,#0000,#0e18
	dw #0d4d,#0c8e,#0bda,#0b2f
	dw #0a8f,#09f7,#0968,#08e1
	dw #0861,#07e9,#0777,#070c
	dw #06a7,#0647,#05ed,#0598
	dw #0547,#04fc,#04d4,#0470
	dw #0431,#03f4,#03dc,#0386
	dw #0353,#0324,#02f6,#02cc
	dw #02a4,#027e,#025a,#0238
	dw #0218,#01fa,#01de,#01c3
	dw #01aa,#0192,#017b,#0166
	dw #0152,#013f,#012d,#011c
	dw #010c,#00fd,#00ef,#00e1
	dw #00d5,#00c9,#00be,#00b3
	dw #00a9,#009f,#0096,#008e
	dw #0086,#007f,#0077,#0071
	dw #006a,#0064,#005f,#0059
	dw #0054,#0050,#004b,#0047
	dw #0043,#003f,#003c,#0038
	dw #0035,#0032,#002f,#002d
	dw #002a,#0028,#0026,#0024
	dw #0022,#0020,#001e,#001c
	dw #001b,#0019,#0018,#0016
	dw #0015,#0014,#0013,#0012
	dw #0011,#0010,#0000,#0000
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#6a,#00,#64,#00
	db #5e,#00,#5a,#00,#54,#00,#4f,#00
	db #4a,#00,#47,#00,#43,#00,#3f,#00
	db #3b,#00,#38,#00,#35,#00,#32,#00
	db #2f,#00,#2d,#00,#2a,#00,#28,#00
	db #25,#00,#23,#00,#21,#00,#20,#00
	db #1e,#00,#1c,#00,#1b,#00,#19,#00
	db #18,#00,#16,#00,#15,#00,#14,#00
	db #13,#00,#12,#00,#11,#00,#10,#00
	db #0f,#00,#0e,#00,#0d,#00,#0c,#00
	db #0b,#00,#0a,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.l4f86 equ $ + 4
	db #00,#00,#00,#00,#02,#04,#06,#08
	db #0a,#0c,#0e,#10,#12,#14,#16,#18
	db #1a,#1c,#1e,#20,#22,#24,#26,#28
	db #2a,#2c,#2e,#30,#32,#34,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#08,#15,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#f0,#04
	db #00,#00,#00,#00,#00,#50,#a4,#f0
	db #50,#00,#00,#00,#04,#08,#0c,#a4
	db #a0,#00,#00,#00,#04,#f0,#0c,#0c
	db #a4,#a0,#00,#00,#0c,#a4,#a4,#0c
	db #58,#50,#00,#00,#0c,#a4,#0c,#0c
	db #0c,#a0,#00,#00,#f0,#0c,#0c,#0c
	db #04,#a0,#00,#00,#04,#04,#a4,#58
	db #f0,#50,#00,#00,#08,#00,#0c,#58
	db #58,#0c,#00,#00,#0c,#a4,#0c,#0c
	db #a0,#58,#00,#00,#04,#04,#58,#0c
	db #50,#f0,#08,#00,#a0,#f0,#58,#f0
	db #0c,#a4,#08,#00,#a0,#08,#00,#58
	db #a4,#04,#a0,#00,#04,#f0,#50,#f0
	db #f0,#f0,#a0,#00,#04,#a4,#f0,#08
	db #58,#a0,#00,#00,#50,#a0,#f0,#58
	db #a0,#00,#00,#00,#00,#00,#50,#a0
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#07,#2d,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#cc,#cc,#00,#00,#00
	db #00,#00,#0c,#0c,#00,#00,#00,#00
	db #d9,#0c,#08,#00,#00,#00,#00,#d9
	db #0c,#00,#00,#00,#00,#00,#d9,#8c
	db #00,#00,#00,#00,#00,#d9,#9d,#2a
	db #00,#00,#00,#50,#d9,#9d,#2a,#00
	db #00,#00,#50,#d9,#44,#2a,#00,#00
	db #00,#f0,#a0,#44,#3f,#00,#00,#00
	db #f4,#a0,#15,#3f,#00,#00,#00,#f4
	db #a0,#3f,#2a,#00,#00,#00,#f4,#b5
	db #3f,#2a,#00,#00,#00,#50,#15,#3f
	db #2a,#00,#00,#00,#03,#16,#8d,#0a
	db #00,#00,#00,#03,#46,#2d,#0a,#00
	db #00,#00,#03,#16,#3c,#08,#00,#00
	db #00,#01,#3c,#29,#02,#00,#00,#00
	db #01,#3c,#03,#02,#00,#00,#00,#10
	db #34,#4c,#88,#00,#00,#00,#01,#06
	db #3c,#88,#00,#00,#00,#10,#34,#2c
	db #88,#00,#00,#00,#01,#03,#1c,#88
	db #00,#00,#00,#01,#03,#3c,#88,#00
	db #00,#00,#00,#46,#cc,#88,#00,#00
	db #00,#00,#00,#cc,#2a,#00,#00,#00
	db #00,#15,#3c,#3d,#00,#00,#00,#00
	db #3e,#3c,#9e,#00,#00,#00,#00,#3e
	db #6d,#8a,#00,#00,#00,#00,#3e,#6d
	db #08,#00,#00,#00,#00,#3e,#3c,#3d
	db #00,#00,#00,#00,#3e,#3c,#2a,#00
	db #00,#00,#00,#15,#3f,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #07,#2d,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#cc,#cc,#00
	db #00,#00,#00,#00,#0c,#0c,#00,#00
	db #00,#00,#00,#04,#0c,#e6,#00,#00
	db #00,#00,#00,#0c,#e6,#00,#00,#00
	db #00,#00,#4c,#e6,#00,#00,#00,#00
	db #15,#6e,#e6,#00,#00,#00,#00,#15
	db #6e,#e6,#a0,#00,#00,#00,#15,#88
	db #e6,#a0,#00,#00,#00,#3f,#88,#50
	db #f0,#00,#00,#00,#3f,#2a,#50,#f8
	db #00,#00,#00,#15,#3f,#50,#f8,#00
	db #00,#00,#15,#3f,#7a,#f8,#00,#00
	db #00,#15,#3f,#2a,#a0,#00,#00,#00
	db #05,#4e,#29,#03,#00,#00,#00,#05
	db #1e,#89,#03,#00,#00,#00,#04,#3c
	db #29,#03,#00,#00,#00,#01,#16,#3c
	db #02,#00,#00,#00,#01,#03,#3c,#02
	db #00,#00,#00,#44,#8c,#29,#02,#00
	db #00,#00,#44,#3c,#18,#20,#00,#00
	db #00,#44,#1c,#29,#02,#00,#00,#00
	db #44,#2c,#98,#20,#00,#00,#00,#44
	db #3c,#89,#02,#00,#00,#00,#44,#cc
	db #89,#00,#00,#00,#00,#15,#cc,#00
	db #00,#00,#00,#00,#3e,#3c,#2a,#00
	db #00,#00,#00,#6d,#3c,#3d,#00,#00
	db #00,#00,#45,#9e,#3d,#00,#00,#00
	db #00,#04,#9e,#3d,#00,#00,#00,#00
	db #3e,#3c,#3d,#00,#00,#00,#00,#15
	db #3c,#3d,#00,#00,#00,#00,#00,#3f
	db #2a,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#0c,#13,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#c3,#c3,#c3
	db #82,#00,#00,#00,#00,#00,#00,#00
	db #41,#cf,#cf,#8f,#4b,#00,#00,#00
	db #00,#00,#00,#00,#41,#c0,#c0,#cf
	db #0f,#82,#00,#00,#00,#00,#00,#00
	db #40,#0f,#0f,#c5,#cb,#4b,#00,#00
	db #00,#00,#00,#00,#41,#cf,#8f,#ca
	db #c7,#4b,#00,#00,#00,#00,#00,#00
	db #00,#c7,#cf,#cf,#c7,#4b,#00,#00
	db #00,#00,#00,#00,#00,#41,#cf,#4f
	db #c7,#4b,#00,#00,#00,#00,#00,#00
	db #00,#87,#cb,#4f,#cb,#4b,#00,#00
	db #00,#00,#00,#00,#41,#4f,#87,#cf
	db #cf,#4b,#00,#00,#00,#00,#00,#00
	db #41,#4f,#87,#cb,#8f,#82,#00,#00
	db #00,#00,#00,#00,#c3,#cb,#c3,#c3
	db #c3,#00,#00,#00,#00,#00,#00,#41
	db #18,#86,#18,#82,#00,#00,#00,#00
	db #00,#00,#00,#41,#18,#86,#18,#82
	db #00,#00,#00,#00,#00,#00,#00,#41
	db #30,#92,#30,#82,#00,#00,#00,#00
	db #00,#00,#00,#41,#30,#92,#30,#82
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #c3,#41,#c3,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#0c,#13,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#41
	db #c3,#c3,#c3,#00,#00,#00,#00,#00
	db #00,#00,#00,#87,#4f,#cf,#cf,#82
	db #00,#00,#00,#00,#00,#00,#41,#0f
	db #cf,#c0,#c0,#82,#00,#00,#00,#00
	db #00,#00,#87,#c7,#ca,#0f,#0f,#80
	db #00,#00,#00,#00,#00,#00,#87,#cb
	db #c5,#4f,#cf,#82,#00,#00,#00,#00
	db #00,#00,#87,#cb,#cf,#cf,#cb,#00
	db #00,#00,#00,#00,#00,#00,#87,#cb
	db #8f,#cf,#82,#00,#00,#00,#00,#00
	db #00,#00,#87,#c7,#8f,#c7,#4b,#00
	db #00,#00,#00,#00,#00,#00,#87,#cf
	db #cf,#4b,#8f,#82,#00,#00,#00,#00
	db #00,#00,#41,#4f,#c7,#4b,#8f,#82
	db #00,#00,#00,#00,#00,#00,#00,#c3
	db #c3,#c3,#c7,#c3,#00,#00,#00,#00
	db #00,#00,#00,#00,#41,#24,#49,#24
	db #82,#00,#00,#00,#00,#00,#00,#00
	db #41,#24,#49,#24,#82,#00,#00,#00
	db #00,#00,#00,#00,#41,#30,#61,#30
	db #82,#00,#00,#00,#00,#00,#00,#00
	db #41,#30,#61,#30,#82,#00,#00,#00
	db #00,#00,#00,#00,#00,#c3,#82,#c3
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#0c,#0a,#00,#50,#f0,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #a4,#58,#a4,#04,#00,#00,#00,#00
	db #00,#00,#00,#50,#0c,#0c,#58,#a0
	db #00,#00,#00,#00,#00,#00,#00,#04
	db #5c,#f4,#0c,#f8,#50,#00,#00,#00
	db #00,#00,#00,#50,#0c,#f8,#58,#f0
	db #a0,#08,#00,#00,#00,#00,#00,#04
	db #58,#fc,#0c,#f0,#a4,#00,#00,#00
	db #00,#00,#00,#04,#fc,#ac,#f0,#a4
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #a4,#58,#ac,#08,#00,#00,#00,#00
	db #00,#00,#00,#00,#58,#f0,#08,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #04,#ac,#00,#08,#00,#00,#00,#00
	db #00,#00,#00,#08,#19,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #c3,#c3,#00,#00,#00,#00,#00,#41
	db #cf,#cf,#82,#00,#00,#00,#00,#c7
	db #cf,#cf,#82,#00,#00,#00,#41,#cf
	db #cf,#cf,#cb,#00,#00,#00,#41,#cf
	db #cb,#c7,#cf,#82,#00,#00,#c7,#cf
	db #82,#49,#cf,#cb,#00,#00,#c7,#cb
	db #04,#41,#cf,#cb,#00,#00,#c7,#cb
	db #00,#00,#c7,#cb,#00,#41,#cf,#82
	db #08,#04,#41,#cf,#82,#41,#cb,#04
	db #00,#00,#08,#c7,#82,#00,#82,#08
	db #00,#00,#04,#41,#00,#00,#04,#00
	db #00,#00,#00,#00,#00,#08,#19,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00

.game_name
	db "Migbusters",0
.game_year
	db "1990",0
.game_publisher
	db "Players",0
.music_author
	db "",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
